package com.teatang.tadmin.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "tadmin")
public class TAdminConfig {
    private static String name;
    private static String version;
    private static String copyrightYear;

    public static String getName() {
        return name;
    }

    public void setName(String name) {
        TAdminConfig.name = name;
    }

    public static String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        TAdminConfig.version = version;
    }

    public static String getCopyrightYear() {
        return copyrightYear;
    }

    public void setCopyrightYear(String copyrightYear) {
        TAdminConfig.copyrightYear = copyrightYear;
    }
}
